On-the-fly Validation of XML Markup Languages using off-the-shelf Tools
نویسندگان
چکیده
Validation of XML documents is often treated as a major operation, performed only at major transitions in the document's life cycle, after it has been created or when it enters some new stage of processing. Users editing XML documents, on the other hand, would appreciate instantaneous feedback of the correctness of the document each time anything changes. Such on-the-fly validation can be implemented in an XML editor using the current version of Java and freely available XML tools. Our experience is that on-thefly validation can be implemented easily without introducing observable delays even on relatively large documents. To demonstrate this, we have built an experimental XML editor which validates documents on-the-fly after every modification. The editor supports editing of DTDs and validation according to DTDs and according to schemas written in W3C XML Schema and Relax NG. On-the-fly Validation of XML Markup Languages using offthe-shelf Tools Table of
منابع مشابه
Valid versus Meaningful: Raising the Level of Semantic Validation
”Traditional” schema languages for XML such as XML Schema or Relax NG are used to validate documents and ensure that they are syntactically correct. These schema languages however lack the expressive power and diagnostic capabilities to provide ”semantic validation”. We illustrate the need for such validation by examples taken from the Financial Products Markup Language (FpML) and XML Metadata ...
متن کاملValidation of Expressive XML Keys with XML Schema and XQuery
The eXtensible Markup Language (XML) is the defacto industry standard for exchanging data on the Web and elsewhere. While the relational model of data enjoys a well-accepted definition of a key, several competing notions of keys exist in XML. These have complementary properties and therefore serve different applications domains. In a nutshell, XML keys allow us to capture important domain seman...
متن کاملWhat can you do with half a parser?
While most developers are happy parsing their XML with off-the-shelf parsers and working with fully-cooked results, there are times when developers need a little more control over their document processing. While XML is text, applying text processing tools directly to XML has some serious drawbacks. This presentation will explore the possibilities offered by a combination of XML parsing for con...
متن کاملAdvanced approaches to XML document validation
Validation of XML documents is a challenging task whose aim is to ensure interoperability of such documents in various environments. With massive use of different XML languages, automated validation is often the only way to ensure compliance with different standards and recommendations. That's why it is important to use expressive validation languages and powerful and convenient validation tool...
متن کاملBOX: Browsing objects in XML
The latest Internet markup languages support the representation of structured information and vector graphics. In this paper we describe how these languages can be used to publish software engineering diagrams on the Internet. We introduce BOX, a portable, distributed and interoperable approach to browsing UML models with off-the-shelf technology. Our approach to browsing UML models leverages X...
متن کامل